getPortnumValue

abstract fun getPortnumValue(): Int

Formerly named typ and of type Type
.meshtastic.PortNum portnum = 1;

Return

The enum numeric value on the wire for portnum.